Skip to content

Align generate-release-contributors.sh across repos#2590

Merged
trask merged 2 commits intoopen-telemetry:mainfrom
trask:align-generate-release-contributors
Feb 7, 2026
Merged

Align generate-release-contributors.sh across repos#2590
trask merged 2 commits intoopen-telemetry:mainfrom
trask:align-generate-release-contributors

Conversation

@trask
Copy link
Copy Markdown
Member

@trask trask commented Jan 28, 2026

No description provided.

@trask trask requested a review from a team as a code owner January 28, 2026 03:33
Copilot AI review requested due to automatic review settings January 28, 2026 03:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns .github/scripts/generate-release-contributors.sh with the version used in other repositories to standardize release contributor generation.

Changes:

  • Quote the git revision range when computing the from timestamp.
  • Update PR-body issue reference extraction regex (now using 4+ digit matches and different delimiters).
  • Adjust contributor filtering/output formatting (quote variables; add codecov exclusion; move renovate exclusion).

Comment on lines +72 to +73
| grep -oE "#[0-9]{4,}$|#[0-9]{4,}[^0-9<]|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \
| grep -oE "[0-9]{4,}" \
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The updated issue/PR reference regex can produce false positives and miss valid references:

  • #[0-9]{4,}[^0-9<] will match HTML numeric entities like &#1234; (it will match #1234;), causing the script to query unrelated issues.
  • Requiring {4,} digits ignores references to issues/PRs < 1000 (this repo has historical PR numbers < 1000).
    Consider restoring the previous delimiter exclusions ([^0-9<&#;]) and using {3,} (or a boundary-based pattern) so entities are ignored while still supporting smaller issue/PR numbers.

Copilot uses AI. Check for mistakes.
@trask trask added this pull request to the merge queue Feb 7, 2026
trask added a commit to trask/opentelemetry-java that referenced this pull request Feb 7, 2026
trask added a commit to trask/opentelemetry-java-instrumentation that referenced this pull request Feb 7, 2026
trask added a commit to trask/semantic-conventions-java that referenced this pull request Feb 7, 2026
Merged via the queue into open-telemetry:main with commit 7931d99 Feb 7, 2026
21 checks passed
@trask trask deleted the align-generate-release-contributors branch February 7, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants